import Vue from 'vue'
import App from './App'


import uView from 'uview-ui'
Vue.use(uView);
Vue.config.productionTip = false

import http from './utils/https.js'
import result from './utils/result.js'
import interfaces from './utils/interfaces.js'

Vue.prototype.request = http
Vue.prototype.result  = result
Vue.prototype.interfaces  = interfaces


import * as custom from './utils/custom.js'
Object.keys(custom).forEach(key => {
  Vue.filter(key, custom[key])
})


App.mpType = 'app'

const app = new Vue({
	...App
})
app.$mount()
